package com.wish.wishsystem_management.controller;

import com.wish.wishsystem_management.entity.TbBusiness;
import com.wish.wishsystem_management.service.ITbBusinessService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class CompanyCenterController {


    @Autowired
    ITbBusinessService iTbBusinessService;


    @RequestMapping("/saveInformAtion")
    public void saveInformAtion(@RequestBody TbBusiness saveCompanyInfoFrom
                     ) {
        System.out.println("00998888888"+saveCompanyInfoFrom.getMobile());
        iTbBusinessService.saveCompanyInfo(saveCompanyInfoFrom);
    }



}
